Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Extensions Namespace / StyleExtensions Class / CreateGradientFill Method / CreateGradientFill(IStyles,Double,GradientStop[]) Method
The GrapeCity.Spreadsheet.IStyles object that creates the gradient fill.
A System.Double value indicates the angle of the linear gradient.
A GrapeCity.Spreadsheet.GradientStop array indicates the gradient stops.


In This Topic
    CreateGradientFill(IStyles,Double,GradientStop[]) Method
    In This Topic
    Creates the linear gradient fill.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreateGradientFill( _
       ByVal styles As IStyles, _
       ByVal degree As Double, _
       ByVal gradientStops() As GradientStop _
    ) As Fill
    'Usage
     
    
    Dim styles As IStyles
    Dim degree As Double
    Dim gradientStops() As GradientStop
    Dim value As Fill
     
    value = StyleExtensions.CreateGradientFill(styles, degree, gradientStops)
    public static Fill CreateGradientFill( 
       IStyles styles,
       double degree,
       GradientStop[] gradientStops
    )

    Parameters

    styles
    The GrapeCity.Spreadsheet.IStyles object that creates the gradient fill.
    degree
    A System.Double value indicates the angle of the linear gradient.
    gradientStops
    A GrapeCity.Spreadsheet.GradientStop array indicates the gradient stops.

    Return Value

    A GrapeCity.Spreadsheet.Fill value represents the created gradient fill.
    See Also